cmake_minimum_required(VERSION 3.27)
project(OpenCV_init)

set(CMAKE_CXX_STANDARD 23)

find_package(OpenCV REQUIRED)
MESSAGE("OpenCV version : ${OpenCV_VERSION}")

add_executable(src_mat
        mat_operate.cpp)

TARGET_LINK_LIBRARIES(src_mat ${OpenCV_LIBS})